From 28863d1cc9fcf17f28236cca814421ef49ebd0e5 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 20 Jul 2009 02:31:05 +0000 Subject: [PATCH] Add Makefile targets to make it easy to build Mac DMG with GUI. --- Makefile.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile.in b/Makefile.in index e7b090dd4..08c7593f7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -341,6 +341,19 @@ mac-release: tar cvzf gpsbabel-osx.tgz usr/bin/gpsbabel curl -u anonymous:anonymous --upload-file gpsbabel-osx.tgz ftp://upload.sf.net/incoming/ + +mac-gui: gpsbabel + cd gui ; qmake && xcodebuild + cp gpsbabel gui/objects/gpsbabelfe-bin.app/Contents/MacOS + cp -r gui/help gui/objects/gpsbabelfe-bin.app/Contents/MacOS + cp gui/gmapbase.html gui/objects/gpsbabelfe-bin.app/Contents/MacOS + +# Build the Qt front end, place GPSBabel in the right place, deploy all +# the libs. +mac-gui-dmg: mac-gui + rm -f gui/objects/gpsbabelfe-bin.dmg + cd gui/objects ; macdeployqt gpsbabelfe-bin.app -dmg + msvc-build: make CC=@CL.EXE DEBUGGING="" EXTRA_CFLAGS="-nologo -W3 -WL -D__WIN32__ -I msvc/expat " OUTPUT_SWITCH="-Fo" $(OBJS) echo $(OBJS) > objs.lst -- 2.30.2